﻿@model IEnumerable<Review>
@using Resources
@if (Model.Any()){
    
    @*<div class="pagedList" data-otf-target="#movieReviewList">
        @Html.PagedListPager(Model, page =>  Url.Action("Details", new { page }),
        PagedListRenderOptions.MinimalWithItemCountText)
    </div>*@
foreach (var item in Model) {
        <table>
            <tr>
                <td>
                    @item.userId
                </td>
                <td class="test">
                    @item.reviewDate.ToString("dd/MM/yyyy")
                </td>
            </tr>
        </table>
        <p>
            @item.reviewBody
        </p>
    <hr />
    }
}else{
    <p>@MVResources.reviews</p>
}